<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title><?php echo ($page_seo["title"]); ?> - Powered by PinPHP</title>
<meta name="keywords" content="<?php echo ($page_seo["keywords"]); ?>" />
<meta name="description" content="<?php echo ($page_seo["description"]); ?>" />
<link rel="stylesheet" type="text/css" href="__STATIC__/css/default/base.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/css/default/style.css" />
<script src="__STATIC__/js/jquery/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="__STATIC__/css/default/user.css" />
</head>
<body>
<div class="reg_wrap">
<div class="header_wrap pt10">
    <div class="m_head clearfix">
        <div class="head_logo"><a href="__ROOT__/" class="logo_b fl" title="<?php echo C('pin_site_name');?>"><?php echo C('pin_site_name');?></a></div>
    </div>
</div>
<div class="main_wrap">
    <div class="registerbox clearfix">
        <div class="register_left">
            <h1><?php echo L('register_title');?></h1>
            <form id="J_register_form" action="<?php echo U('user/register');?>" method="post">
            <div class="ipt_mail">
                <span><?php echo L('email');?>：</span><input type="text" maxlength="36" name="email" id="J_email" class="input_text">
            </div>
            <div class="ipt_ulike">
                <span><?php echo L('username');?>：</span><input maxlength="36" type="text" name="username" id="J_username" class="input_text">
            </div>
            <div class="ipt_sex">
                <span><?php echo L('gender');?>：</span>
                <div class="rdo">
                    <label><input type="radio" name="gender" value="0" checked="checked" class="ck"> <?php echo L('female');?></label>
                    <label><input type="radio" name="gender" value="1" class="ck ml10"> <?php echo L('male');?></label>
                </div>
            </div>
            <div class="ipt_password">
                <span><?php echo L('password');?>：</span><input maxlength="36" type="password" name="password" id="J_password" class="input_text">
            </div>
            <div class="ipt_respassword">
                <span><?php echo L('confirm_password');?>：</span><input type="password" maxlength="36" name="repassword" id="J_repassword" class="input_text">
            </div>
            <div class="ipt_check">
                <span><?php echo L('captcha');?>：</span><input type="text" name="captcha" id="J_captcha" maxlength="10" class="check input_text">
                <img src="<?php echo U('captcha/'.time());?>" id="J_captcha_img" class="captcha_img" alt="<?php echo L('captcha');?>" data-url="<?php echo U('captcha/js_rand');?>">
                <a href="javascript:;" id="J_captcha_change"><?php echo L('change_captcha');?></a>
            </div>
            <div class="ipt_box">
                <input class="box fl" name="agreement" type="checkbox" checked="checked"><span class="fl"><?php echo L('i_agree');?>《<a href="javascript:;" id="J_protocol_btn"><?php echo C('pin_site_name'); echo L('user_protocol');?></a>》</span>
            </div>
            <div class="ipt_sub">
                <input type="submit" id="J_regsub" class="sub" value="<?php echo L('relaxed_register');?>">
            </div>
            </form>
        </div>
        <div class="register_right">
            <div class="rst_login">
                <span><?php echo L('direct_login');?></span>
                <a href="<?php echo U('user/login');?>"><?php echo L('login');?></a>
            </div>
            <div class="other_login">
                <span><?php echo L('other_login_model');?>：</span>
                <?php if(is_array($oauth_list)): $i = 0; $__LIST__ = $oauth_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><a href="<?php echo U('oauth/index', array('mod'=>$val['code']));?>" class="o_icon"><img src="__STATIC__/images/oauth/<?php echo ($val["code"]); ?>/icon.png" /><?php echo ($val["name"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
    </div>
</div>

<div class="w960"><?php echo R('advert/index', array(11), 'Widget');?></div>
<div class="footer_wrap rt10">
    <a href="__APP__" class="foot_logo"></a>
    <div class="foot_links clearfix">
        <dl class="foot_nav fl">
            <dt><?php echo L('site_nav');?></dt>
            <?php $tag_nav_class = new navTag;$data = $tag_nav_class->lists(array('type'=>'lists','style'=>'bottom','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><dd><a href="<?php echo ($val["link"]); ?>" <?php if($val["target"] == 1): ?>target="_blank"<?php endif; ?>><?php echo ($val["name"]); ?></a></dd><?php endforeach; endif; else: echo "" ;endif; ?>
        </dl>
        <dl class="aboutus fl">
            <dt><?php echo L('aboutus');?></dt>
            <?php $tag_article_class = new articleTag;$data = $tag_article_class->cate(array('type'=>'cate','cateid'=>'1','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><dd><a href="<?php echo U('aboutus/index', array('id'=>$val['id']));?>" target="_blank"><?php echo ($val["name"]); ?></a></dd><?php endforeach; endif; else: echo "" ;endif; ?>
        </dl>
        <dl class="flinks fr">
            <dt><?php echo L('flink');?></dt>
            <?php $data = S('36cd2015820ec8da2a165ad5dfc0c797');if (false === $data) { $tag_flink_class = new flinkTag;$data = $tag_flink_class->lists(array('cache'=>'3600','num'=>'5','return'=>'data','type'=>'lists',));S('36cd2015820ec8da2a165ad5dfc0c797', $data, 3600); } if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><dd><a href="<?php echo ($val["url"]); ?>" target="_blank"><?php echo ($val["name"]); ?></a></dd><?php endforeach; endif; else: echo "" ;endif; ?>
            <dd><a href="<?php echo U('aboutus/flink');?>" class="more" target="_blank"><?php echo L('more');?>...</a></dd>
        </dl>
        <?php echo R('advert/index', array(8), 'Widget');?>
    </div>
    <p class="pt20">Powered by <a href="http://www.pinphp.com/" class="tdu clr6" target="_blank">PinPHP <?php echo (PIN_VERSION); ?> <?php echo (PIN_RELEASE); ?></a> &copy;Copyright 2010-2012 <a href="__ROOT__/" class="tdu clr6" target="_blank"><?php echo C('pin_site_name');?></a> (<a href="http://www.miibeian.gov.cn" class="tdu clr6" target="_blank"><?php echo C('pin_site_icp');?></a>)<?php echo C('pin_statistics_code');?></p>
</div>
<div id="J_returntop" class="return_top"></div>

<script>
var PINER = {
    root: "__ROOT__",
    uid: "<?php echo $visitor['id'];?>", 
    async_sendmail: "<?php echo $async_sendmail;?>",
    config: {
        wall_distance: "<?php echo C('pin_wall_distance');?>",
        wall_spage_max: "<?php echo C('pin_wall_spage_max');?>"
    },
    //URL
    url: {}
};
//语言项目
var lang = {};
<?php $_result=L('js_lang');if(is_array($_result)): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>lang.<?php echo ($key); ?> = "<?php echo ($val); ?>";<?php endforeach; endif; else: echo "" ;endif; ?>
</script>
<?php $tag_load_class = new loadTag;$data = $tag_load_class->js(array('type'=>'js','href'=>'__STATIC__/js/jquery/plugins/jquery.tools.min.js,__STATIC__/js/jquery/plugins/jquery.masonry.js,__STATIC__/js/jquery/plugins/formvalidator.js,__STATIC__/js/fileuploader.js,__STATIC__/js/pinphp.js,__STATIC__/js/front.js,__STATIC__/js/dialog.js,__STATIC__/js/wall.js,__STATIC__/js/item.js,__STATIC__/js/user.js,__STATIC__/js/album.js','cache'=>'0','return'=>'data',));?>
<script>
$(function(){
    $.pinphp.user.register_form($('#J_register_form')); //注册验证
});
</script>
<div id="J_protocol" class="hide"><pre class="dialog_protocol clr6"><?php echo C('pin_reg_protocol');?></pre></div>
</div>

</body>
</html>